#include "MeetingRoom.h"

MeetingRoom::MeetingRoom(int id, int capacity)
{
    this->capacity = capacity;
    this->id = id;
    this->user = nullptr;
}

MeetingRoom::MeetingRoom(int id, int capacity, User *user)
{
    this->id = id;
    this->capacity = capacity;
    this->user = user;
}

int MeetingRoom::getId() const
{
    return this->id;
}

int MeetingRoom::getCapacity() const
{
    return this->capacity;
}

User *MeetingRoom::getUser()
{
    return this->user;
}
